package com.ruoyi.project.system.course.mapper;

import com.ruoyi.project.system.course.domain.CourseTeacher;
import com.ruoyi.project.system.user.domain.User;

import java.util.List;

/**
 * 教师课程关联 数据层
 * 
 * @author Waynnn
 * @date 2019-03-21
 */
public interface CourseTeacherMapper 
{

	
	/**
     * 删除教师课程关联
     * 
     * @param courseId 教师课程关联ID
     * @return 结果
     */
	public int deleteCourseTeacherById(Long courseId);


	/**
	 * 绑定老师，课程 的任课关系
	 * @param courseTeachers
	 * @return
	 */
	public int batchCourseTeacher(List<CourseTeacher> courseTeachers);


	/**
	 * 根据课程Id找到任课老师总数
	 * @param courseId
	 * @return
	 */
	public int countCourseTeacherByCourseId(Long courseId);

	/**
	 * 根据课程Id找到所有任课老师
	 * @param courseId
	 * @return
	 */
	public List<CourseTeacher> selectTeachersByCourseId(Long courseId);
}